/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package model.entities;

/**
 *
 * @author THANMINH
 */
public class NewsType {
    private int idNewType;
    private String Name;
    private String descriptions;
    private boolean isActived;

    public NewsType() {
    }

    public NewsType(int idNewType) {
        this.idNewType = idNewType;
    }

    public NewsType(String Name, String descriptions, boolean isActived) {
        this.Name = Name;
        this.descriptions = descriptions;
        this.isActived = isActived;
    }

    /**
     * @return the idNewType
     */
    public int getIdNewType() {
        return idNewType;
    }

    /**
     * @param idNewType the idNewType to set
     */
    public void setIdNewType(int idNewType) {
        this.idNewType = idNewType;
    }

    /**
     * @return the Name
     */
    public String getName() {
        return Name;
    }

    /**
     * @param Name the Name to set
     */
    public void setName(String Name) {
        this.Name = Name;
    }

    /**
     * @return the descriptions
     */
    public String getDescriptions() {
        return descriptions;
    }

    /**
     * @param descriptions the descriptions to set
     */
    public void setDescriptions(String descriptions) {
        this.descriptions = descriptions;
    }

    /**
     * @return the isActived
     */
    public boolean isIsActived() {
        return isActived;
    }

    /**
     * @param isActived the isActived to set
     */
    public void setIsActived(boolean isActived) {
        this.isActived = isActived;
    }
    
    
}
